ActionNotificationReceiver Class Interface

This class interface is used when you create custom object bindings. To use it, create a new class that implements this interface.

Methods

PerformAction

When you use the Implement Interfaces dialog box to add this interface, REALbasic adds the method specified by the interface to your class automatically. Specify the action that is carried out by the bind in the interface's PerformAction method.


Example

The following PerformAction method specifies that action in a bind between a PushButton and a ListBox. The properties bindSource as PushButton and bindTarget ad ListBox have been added to the class that implements this interface. When the user clicks the PushButton, all the data in the ListBox is deleted.

Sub PerformAction()
bindTarget.DeleteAllRows

See Also

BindingInterface class interface.